const formatResult = (res: any) => {
  return {
    data: res.data.result,
    total: res.data.total,
    success: res.status===200
  }
}

export {formatResult}
